﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{

    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("lmEstimateProduction", "lmEstimateProduction", new string[] { "LMEID" })]
    [KnownType(typeof(EstimateProductionInfo))]
    public class EstimateProductionInfo : MB.Orm.Common.BaseModel
    {

        public EstimateProductionInfo()
        {
        }


        private int _LMEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LMEID", System.Data.DbType.Int32)]
        public int LMEID
        {
            get { return _LMEID; }
            set { _LMEID = value; }
        }

        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }

        private string _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME
        {
            get { return _GOODSNAME; }
            set { _GOODSNAME = value; }
        }

        private int _ESTIMATENUMBER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ESTIMATENUMBER", System.Data.DbType.Int32)]
        public int ESTIMATENUMBER
        {
            get { return _ESTIMATENUMBER; }
            set { _ESTIMATENUMBER = value; }
        }

        private int _ORDERNUMBER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ORDERNUMBER", System.Data.DbType.Int32)]
        public int ORDERNUMBER
        {
            get { return _ORDERNUMBER; }
            set { _ORDERNUMBER = value; }
        }

        private int _UPDATENUMBER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("UPDATENUMBER", System.Data.DbType.Int32)]
        public int UPDATENUMBER
        {
            get { return _UPDATENUMBER; }
            set { _UPDATENUMBER = value; }
        }

        private int _ACTUALNUMBER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ACTUALNUMBER", System.Data.DbType.Int32)]
        public int ACTUALNUMBER
        {
            get { return _ACTUALNUMBER; }
            set { _ACTUALNUMBER = value; }
        }

        private string _STATUS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("STATUS", System.Data.DbType.String)]
        public string STATUS
        {
            get { return _STATUS; }
            set { _STATUS = value; }
        }

        private string _IMPORTBATCH;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("IMPORTBATCH", System.Data.DbType.String)]
        public string IMPORTBATCH
        {
            get { return _IMPORTBATCH; }
            set { _IMPORTBATCH = value; }
        }

        private string _OPRNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OPRNO", System.Data.DbType.String)]
        public string OPRNO
        {
            get { return _OPRNO; }
            set { _OPRNO = value; }
        }

        private string _CREATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.String)]
        public string CREATEDATE
        {
            get { return _CREATEDATE; }
            set { _CREATEDATE = value; }
        }


        private string _TOPGOODSSPEC;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TOPGOODSSPEC", System.Data.DbType.String)]
        public string TOPGOODSSPEC
        {
            get { return _TOPGOODSSPEC; }
            set { _TOPGOODSSPEC = value; }
        }

        private string _ESTIMATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ESTIMATEDATE", System.Data.DbType.String)]
        public string ESTIMATEDATE
        {
            get { return _ESTIMATEDATE; }
            set { _ESTIMATEDATE = value; }
        }

        private string _DISPATCHINGTYPE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DISPATCHINGTYPE", System.Data.DbType.String)]
        public string DISPATCHINGTYPE
        {
            get { return _DISPATCHINGTYPE; }
            set { _DISPATCHINGTYPE = value; }
        }

        private string _LOOKUP;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOOKUP", System.Data.DbType.String)]
        public string LOOKUP
        {
            get { return _LOOKUP; }
            set { _LOOKUP = value; }
        }


    }
}
